using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for HDFunctions
/// </summary>
public class HDFunctions
{
	public HDFunctions()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public string getUserId()
    {
        if (HttpContext.Current.Session["userid"] != null)
        {
            return HttpContext.Current.Session["userid"].ToString().Replace("'","''");
        }
        else
        {
            return "";
        }
    }
}
